/// \file sounditem.h
///
///
///
#ifndef SOUNDITEM_H
#define SOUNDITEM_H

#include "phonon\mediaobject.h"

class SoundItem
{
public:
	SoundItem();
	SoundItem( QString &path, QByteArray &sound_data);
	~SoundItem();

	// roles
	QString path() const;

	//gebufferte SoundDaten
	QByteArray sound_data() const;

	QImage thumbnail() const;
	bool train() const;
	// end of roles

private:
	QString mPath;
	QImage mThumbnail;
	QByteArray m_sound_data;
	bool mTrain;
};

#endif // SOUNDITEM_H